package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class SearchOrCycleClause {

    private int beginIndex;
    private int endIndex;
    private SearchClause searchClause;
    private CycleClause cycleClause;

    public SearchOrCycleClause(int beginIndex,
                               int endIndex,
                               SearchClause searchClause,
                               CycleClause cycleClause) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.searchClause = searchClause;
        this.cycleClause = cycleClause;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public SearchClause getSearchClause() {
        return searchClause;
    }

    public CycleClause getCycleClause() {
        return cycleClause;
    }

}
